[INFO] cloning repository https://github.com/ladwirk/arj-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ladwirk/arj-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fladwirk%2Farj-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fladwirk%2Farj-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d2bbfd05a2c0f28862ac0bd55efe1fa545b7f595
[INFO] fixing ladwirk/arj-rs against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fladwirk%2Farj-rs" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ladwirk/arj-rs
[INFO] finished tweaking git repo https://github.com/ladwirk/arj-rs
[INFO] tweaked toml for git repo https://github.com/ladwirk/arj-rs written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ladwirk/arj-rs on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ladwirk/arj-rs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] b9f89244f85703a475f4ca5a559787f14ba20c7ebc93373b2df8090f60154362
[INFO] running `Command { std: "docker" "start" "b9f89244f85703a475f4ca5a559787f14ba20c7ebc93373b2df8090f60154362", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b9f89244f85703a475f4ca5a559787f14ba20c7ebc93373b2df8090f60154362" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b9f89244f85703a475f4ca5a559787f14ba20c7ebc93373b2df8090f60154362", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b9f89244f85703a475f4ca5a559787f14ba20c7ebc93373b2df8090f60154362" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]     Checking arj-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/main.rs:437:22
[INFO] [stdout]     |
[INFO] [stdout] 437 |         start[len] = (nextcode as u16);
[INFO] [stdout]     |                      ^               ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 437 -         start[len] = (nextcode as u16);
[INFO] [stdout] 437 +         start[len] = nextcode as u16 ;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/main.rs:437:22
[INFO] [stdout]     |
[INFO] [stdout] 437 |         start[len] = (nextcode as u16);
[INFO] [stdout]     |                      ^               ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 437 -         start[len] = (nextcode as u16);
[INFO] [stdout] 437 +         start[len] = nextcode as u16 ;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:598:9
[INFO] [stdout]     |
[INFO] [stdout] 598 |     let mut state = DecoderState::new();
[INFO] [stdout]     |         ----^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]    --> src/main.rs:598:9
[INFO] [stdout]     |
[INFO] [stdout] 598 |     let mut state = DecoderState::new();
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:598:9
[INFO] [stdout]     |
[INFO] [stdout] 598 |     let mut state = DecoderState::new();
[INFO] [stdout]     |         ----^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]    --> src/main.rs:598:9
[INFO] [stdout]     |
[INFO] [stdout] 598 |     let mut state = DecoderState::new();
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BitReader` is never constructed
[INFO] [stdout]    --> src/main.rs:188:8
[INFO] [stdout]     |
[INFO] [stdout] 188 | struct BitReader<'a> {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BitReader` is never constructed
[INFO] [stdout]    --> src/main.rs:188:8
[INFO] [stdout]     |
[INFO] [stdout] 188 | struct BitReader<'a> {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `at_eof`, `fill_buf`, `peek_bits`, and `read_bits` are never used
[INFO] [stdout]    --> src/main.rs:196:8
[INFO] [stdout]     |
[INFO] [stdout] 195 | impl<'a> BitReader<'a> {
[INFO] [stdout]     | ---------------------- associated items in this implementation
[INFO] [stdout] 196 |     fn new(data: &'a [u8]) -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 205 |     fn at_eof(&self) -> bool {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 209 |     fn fill_buf(&mut self) -> io::Result<()> {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 218 |     fn peek_bits(&mut self, n: usize) -> io::Result<u16> {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 228 |     fn read_bits(&mut self, n: usize) -> io::Result<u16> {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `at_eof`, `fill_buf`, `peek_bits`, and `read_bits` are never used
[INFO] [stdout]    --> src/main.rs:196:8
[INFO] [stdout]     |
[INFO] [stdout] 195 | impl<'a> BitReader<'a> {
[INFO] [stdout]     | ---------------------- associated items in this implementation
[INFO] [stdout] 196 |     fn new(data: &'a [u8]) -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 205 |     fn at_eof(&self) -> bool {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 209 |     fn fill_buf(&mut self) -> io::Result<()> {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 218 |     fn peek_bits(&mut self, n: usize) -> io::Result<u16> {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 228 |     fn read_bits(&mut self, n: usize) -> io::Result<u16> {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decode_pt` is never used
[INFO] [stdout]    --> src/main.rs:243:4
[INFO] [stdout]     |
[INFO] [stdout] 243 | fn decode_pt(br: &mut BitReader, pt_table: &[u16], pt_len: &[u8], nt: usize) -> io::Result<u16> {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_c_len` is never used
[INFO] [stdout]    --> src/main.rs:284:4
[INFO] [stdout]     |
[INFO] [stdout] 284 | fn read_c_len(br: &mut BitReader, pt_table: &[u16], pt_len: &[u8]) -> io::Result<([u8; 510], Option<u16>)> {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `make_table` is never used
[INFO] [stdout]    --> src/main.rs:357:4
[INFO] [stdout]     |
[INFO] [stdout] 357 | fn make_table(_br: &mut BitReader, nchar: usize, bitlen: &[u8], tablebits: usize, table: &mut [u16]) -> io::Result<()> {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decode_c` is never used
[INFO] [stdout]    --> src/main.rs:443:4
[INFO] [stdout]     |
[INFO] [stdout] 443 | fn decode_c(br: &mut BitReader, c_table: &[u16], c_len: &[u8]) -> io::Result<u16> {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decode_p` is never used
[INFO] [stdout]    --> src/main.rs:482:4
[INFO] [stdout]     |
[INFO] [stdout] 482 | fn decode_p(br: &mut BitReader, pt_table: &[u16], pt_len: &[u8]) -> io::Result<u16> {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decode_pt` is never used
[INFO] [stdout]    --> src/main.rs:243:4
[INFO] [stdout]     |
[INFO] [stdout] 243 | fn decode_pt(br: &mut BitReader, pt_table: &[u16], pt_len: &[u8], nt: usize) -> io::Result<u16> {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_c_len` is never used
[INFO] [stdout]    --> src/main.rs:284:4
[INFO] [stdout]     |
[INFO] [stdout] 284 | fn read_c_len(br: &mut BitReader, pt_table: &[u16], pt_len: &[u8]) -> io::Result<([u8; 510], Option<u16>)> {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `make_table` is never used
[INFO] [stdout]    --> src/main.rs:357:4
[INFO] [stdout]     |
[INFO] [stdout] 357 | fn make_table(_br: &mut BitReader, nchar: usize, bitlen: &[u8], tablebits: usize, table: &mut [u16]) -> io::Result<()> {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decode_c` is never used
[INFO] [stdout]    --> src/main.rs:443:4
[INFO] [stdout]     |
[INFO] [stdout] 443 | fn decode_c(br: &mut BitReader, c_table: &[u16], c_len: &[u8]) -> io::Result<u16> {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decode_p` is never used
[INFO] [stdout]    --> src/main.rs:482:4
[INFO] [stdout]     |
[INFO] [stdout] 482 | fn decode_p(br: &mut BitReader, pt_table: &[u16], pt_len: &[u8]) -> io::Result<u16> {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_pt_len` is never used
[INFO] [stdout]    --> src/main.rs:512:4
[INFO] [stdout]     |
[INFO] [stdout] 512 | fn read_pt_len(br: &mut BitReader, nn: usize, nbit: usize, _i_special: i32) -> io::Result<([u8; 256], Option<u16>)> {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DecoderState` is never constructed
[INFO] [stdout]    --> src/main.rs:568:8
[INFO] [stdout]     |
[INFO] [stdout] 568 | struct DecoderState {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/main.rs:574:8
[INFO] [stdout]     |
[INFO] [stdout] 573 | impl DecoderState {
[INFO] [stdout]     | ----------------- associated function in this implementation
[INFO] [stdout] 574 |     fn new() -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decompress_method1` is never used
[INFO] [stdout]    --> src/main.rs:582:4
[INFO] [stdout]     |
[INFO] [stdout] 582 | fn decompress_method1<R: Read, W: Write>(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/main.rs:252:17
[INFO] [stdout]     |
[INFO] [stdout] 252 |                 DEBUG_CALL, peek, peek, j, j, pt_len[j]);
[INFO] [stdout]     |                 ^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_pt_len` is never used
[INFO] [stdout]    --> src/main.rs:512:4
[INFO] [stdout]     |
[INFO] [stdout] 512 | fn read_pt_len(br: &mut BitReader, nn: usize, nbit: usize, _i_special: i32) -> io::Result<([u8; 256], Option<u16>)> {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DecoderState` is never constructed
[INFO] [stdout]    --> src/main.rs:568:8
[INFO] [stdout]     |
[INFO] [stdout] 568 | struct DecoderState {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/main.rs:574:8
[INFO] [stdout]     |
[INFO] [stdout] 573 | impl DecoderState {
[INFO] [stdout]     | ----------------- associated function in this implementation
[INFO] [stdout] 574 |     fn new() -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decompress_method1` is never used
[INFO] [stdout]    --> src/main.rs:582:4
[INFO] [stdout]     |
[INFO] [stdout] 582 | fn decompress_method1<R: Read, W: Write>(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/main.rs:252:17
[INFO] [stdout]     |
[INFO] [stdout] 252 |                 DEBUG_CALL, peek, peek, j, j, pt_len[j]);
[INFO] [stdout]     |                 ^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.21s
[INFO] [stderr] crater-edition-check: all finished
[INFO] running `Command { std: "docker" "inspect" "b9f89244f85703a475f4ca5a559787f14ba20c7ebc93373b2df8090f60154362", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b9f89244f85703a475f4ca5a559787f14ba20c7ebc93373b2df8090f60154362", kill_on_drop: false }`
[INFO] [stdout] b9f89244f85703a475f4ca5a559787f14ba20c7ebc93373b2df8090f60154362
